package com.yufubao.service.service.applet.authorization;

import com.yufubao.framework.interceptor.local.LoginUserLoc;
import com.yufubao.framework.result.ResponseResult;
import com.yufubao.model.dto.applet.authorization.AppWxLoginDto;
import com.yufubao.model.dto.applet.authorization.SupplierApplyDto;
import com.yufubao.model.dto.common.PhoneLoginDto;


/**
 * @author 张一恒
 * @version 1.0
 * @description:
 * @date 2024/8/26 11:51
 */
public interface UserWxPowerService {
    
    /**
     * @description 登录
     * @param dto 
     * @return com.yufubao.common.result.ResponseResult
     * @author zhangyiheng 
     * @date 2024/8/26 11:54
     */
    LoginUserLoc login(AppWxLoginDto dto);


    /**
     * @description 手机号验证码登录
     * @param dto
     * @return com.yufubao.common.result.ResponseResult
     * @author zhangyiheng
     * @date 2024/8/27 11:10
     */
    ResponseResult phoneLogin(PhoneLoginDto dto);

    /**
     * @description 用户申请商户
     * @param dto
     * @return com.yufubao.common.result.ResponseResult
     * @author zhangyiheng
     * @date 2024/8/26 21:23
     */
    ResponseResult merchantApplication(SupplierApplyDto dto);


}
